package com.chen.circle.server.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.circle.api.common.PageResult;
import com.chen.circle.api.req.GetShareMessageReq;
import com.chen.circle.api.vo.ShareMessageVO;
import com.chen.circle.server.entity.po.ShareMessage;

/**
 * 消息表
 * @author: ChenFY
 * @date: 2024/7/11
 */
public interface ShareMessageService extends IService<ShareMessage> {
    /**
     * 分页查询消息
     */
    PageResult<ShareMessageVO> getMessages(GetShareMessageReq req);

    void comment(String fromId, String toId, Long targetId);

    void reply(String fromId, String toId, Long targetId);
    /**
     * 查询未读的信息
     */
    Boolean unRead();

}
